using System;
using System.Runtime.Serialization;
namespace Net35.Crm.Sdk.Messages
{
	[DataContract(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed class BusinessNotification : IExtensibleDataObject
	{
		private ExtensionDataObject _extensionDataObject;
		[DataMember]
		public BusinessNotificationSeverity Severity
		{
			get;
			set;
		}
		[DataMember]
		public string Message
		{
			get;
			set;
		}
		[DataMember]
		public BusinessNotificationParameter[] Parameters
		{
			get;
			set;
		}
		public ExtensionDataObject ExtensionData
		{
			get
			{
				return this._extensionDataObject;
			}
			set
			{
				this._extensionDataObject = value;
			}
		}
		public BusinessNotification(BusinessNotificationSeverity severity, string message)
		{
			this.Severity = severity;
			this.Message = message;
		}
	}
}
